/************************************************************************/
/* 组合结点
*/
/************************************************************************/
import { IBehaviour } from "./IBehaviour";

export interface IComposite extends IBehaviour {

    addChild(child: IBehaviour): void;

    removeChild(child: IBehaviour): void;

    clearChild(): void;

    getChildren(): Array<IBehaviour>;

    setChildren(behaviours: Array<IBehaviour>): void;

}